package com.ruoyi.zhjd.laboratory.modules.tensionResult.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 张拉结果(TensionResult)表实体类
 *
 * @author makejava
 * @since 2023-07-12 14:24:08
 */
@TableName("tension_result")
@Data
public class TensionResult implements Serializable {
    private static final long serialVersionUID = 994530352398858002L;
    //id
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    //记录编号
    private String code;
    //设备编号
    private String deviceCode;
    //张拉的孔号
    private String holeNumber;
    //张拉操作的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tensioningTime;
    //张拉的断面信息
    private String tensioningSection;
    //记录点的编号
    private String measurementPoint;
    //张拉操作的初始行程
    private String initialStroke;
    //张拉操作的第一行程
    private String firstStroke;
    //张拉操作的第二行程
    private String secondStroke;
    //张拉操作的第三行程
    private String thirdStroke;
    //张拉操作的第四行程
    private String fourthStroke;
    //张拉操作的实测结论
    private String measuredConclusion;
    //张拉操作的设计张力
    private BigDecimal designTension;
    //张拉操作的设计伸长量
    private BigDecimal designExtension;
    //张拉操作的总伸长量
    private BigDecimal totalExtension;
    //延伸量的误差
    private BigDecimal extensionError;
    //超过设计张力的百分比
    private BigDecimal overTensionPercentage;
    //回缩的量（以毫米为单位）
    private Integer shrinkageAmount;
    //张拉操作的持荷时间（以秒为单位）
    private Integer holdingTime;
    //记录的时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;
    //记录的状态
    private String status;

    private Long createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Long updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String linkCode;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getHoleNumber() {
        return holeNumber;
    }

    public void setHoleNumber(String holeNumber) {
        this.holeNumber = holeNumber;
    }

    public Date getTensioningTime() {
        return tensioningTime;
    }

    public void setTensioningTime(Date tensioningTime) {
        this.tensioningTime = tensioningTime;
    }

    public String getTensioningSection() {
        return tensioningSection;
    }

    public void setTensioningSection(String tensioningSection) {
        this.tensioningSection = tensioningSection;
    }

    public String getMeasurementPoint() {
        return measurementPoint;
    }

    public void setMeasurementPoint(String measurementPoint) {
        this.measurementPoint = measurementPoint;
    }

    public String getInitialStroke() {
        return initialStroke;
    }

    public void setInitialStroke(String initialStroke) {
        this.initialStroke = initialStroke;
    }

    public String getFirstStroke() {
        return firstStroke;
    }

    public void setFirstStroke(String firstStroke) {
        this.firstStroke = firstStroke;
    }

    public String getSecondStroke() {
        return secondStroke;
    }

    public void setSecondStroke(String secondStroke) {
        this.secondStroke = secondStroke;
    }

    public String getThirdStroke() {
        return thirdStroke;
    }

    public void setThirdStroke(String thirdStroke) {
        this.thirdStroke = thirdStroke;
    }

    public String getFourthStroke() {
        return fourthStroke;
    }

    public void setFourthStroke(String fourthStroke) {
        this.fourthStroke = fourthStroke;
    }

    public String getMeasuredConclusion() {
        return measuredConclusion;
    }

    public void setMeasuredConclusion(String measuredConclusion) {
        this.measuredConclusion = measuredConclusion;
    }

    public BigDecimal getDesignTension() {
        return designTension;
    }

    public void setDesignTension(BigDecimal designTension) {
        this.designTension = designTension;
    }

    public BigDecimal getDesignExtension() {
        return designExtension;
    }

    public void setDesignExtension(BigDecimal designExtension) {
        this.designExtension = designExtension;
    }

    public BigDecimal getTotalExtension() {
        return totalExtension;
    }

    public void setTotalExtension(BigDecimal totalExtension) {
        this.totalExtension = totalExtension;
    }

    public BigDecimal getExtensionError() {
        return extensionError;
    }

    public void setExtensionError(BigDecimal extensionError) {
        this.extensionError = extensionError;
    }

    public BigDecimal getOverTensionPercentage() {
        return overTensionPercentage;
    }

    public void setOverTensionPercentage(BigDecimal overTensionPercentage) {
        this.overTensionPercentage = overTensionPercentage;
    }

    public Integer getShrinkageAmount() {
        return shrinkageAmount;
    }

    public void setShrinkageAmount(Integer shrinkageAmount) {
        this.shrinkageAmount = shrinkageAmount;
    }

    public Integer getHoldingTime() {
        return holdingTime;
    }

    public void setHoldingTime(Integer holdingTime) {
        this.holdingTime = holdingTime;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

